/**
 * Copyright (c) 2019 xstgongyi.org
 * All rights reserved.
 */
package org.xstgongyi.eduaid.dao;

import org.apache.ibatis.annotations.Mapper;
import org.xstgongyi.eduaid.dataobject.StudentAidDO;

import java.util.List;
import java.util.Map;

/**
 * @author oldcrane<br               />
 * @created 2019-04-19
 */
@Mapper
public interface StudentAidMapper {

    StudentAidDO getById(Integer id);

    List<StudentAidDO> listPage(Map<String, Object> condition);

    List<StudentAidDO> listForExtend(Map<String, Object> condition);

    int countTotal(Map<String, Object> condition);

    int insert(StudentAidDO aid);

    int update(StudentAidDO aid);

    int batchUpdateStatus(Map<String, Object> condition);

}
